package 工厂模式.简单工厂.service.impl;

import 工厂模式.简单工厂.entity.AwardInfo;
import 工厂模式.简单工厂.entity.ResponseResult;
import 工厂模式.简单工厂.service.IFreeGoods;

/**
 * 优酷会员
 */
public class YouKuMemberFreeGoods implements IFreeGoods {
    @Override
    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        String phone = awardInfo.getExtMap().get("phone");
        System.out.println("发放优酷会员成功，绑定手机号："+phone);
        return new ResponseResult("200", "发放优酷会员成功", null);
    }
}
